package com.xuxin.queue.contract;

import com.xuxin.queue.bean.BaseBean;
import com.xuxin.queue.bean.PlayerBean;
import com.xuxin.queue.bean.QueueBean;
import com.xuxin.queue.presenter.QueuePresenter;

/**
 * Created by xu_xin
 * Created on 2021/6/16 0016
 */
public interface QueueContract {

    interface Model {

        void getQueuingInfo(QueuePresenter presenter,String url);

        void getPlayer(QueuePresenter presenter,String url);
    }

    interface View extends BaseContract.view {

        void onSuccess(QueueBean queueBean);

        void onSuccess(PlayerBean playerBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getQueuingInfo(String url);

        void getPlayer(String url);

        void onSuccess(QueueBean queueBean);

        void onSuccess(PlayerBean playerBean);
    }
}